import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {OrdPayDetailComponent} from './ord-pay-detail.component';

const routes: Routes = [
    {path: '', component: OrdPayDetailComponent,
        children: [
            {path: '', redirectTo: 'list', pathMatch: 'full'},
            {path: 'add', loadChildren: './add-ord-pay-detail/add-ord-pay-detail.module#AddOrdPayDetailModule'},
            {path: 'list', loadChildren: './list-ord-pay-detail/list-ord-pay-detail.module#ListOrdPayDetailModule'},
            {path: 'modify', loadChildren: './modify-ord-pay-detail/modify-ord-pay-detail.module#ModifyOrdPayDetailModule'},
            {path: 'report', loadChildren: './report-ord-pay-detail/report-ord-pay-detail.module#ReportOrdPayDetailModule'},
        ]
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class OrdPayDetailRoutingModule {
}
